package com.canaan.business.domain.storehouse;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.canaan.common.annotation.Excel;
import com.canaan.common.core.domain.BaseEntity;
import com.canaan.common.annotation.TableName;
/**
 * 库存预警对象 wms_inventory_alert
 *
 * @author ruoyi
 * @date 2023-03-07
 */
@ApiModel(description = "wms_inventory_alert")
@TableName("wms_inventory_alert")
@Data
public class InventoryAlert extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty("id")
    private Long id;

    /** 编号 */
    @Excel(name = "编号")
    @ApiModelProperty("编号")
    private String no;



    /** 物料编码 */
    @Excel(name = "物料编码")
    @ApiModelProperty("物料编码")
    private String productNo;

    /** 物料名称 */
    @Excel(name = "物料名称")
    @ApiModelProperty("物料名称")
    private String productName;


    /** 库存数量 */
    @Excel(name = "库存数量")
    @ApiModelProperty("库存数量")
    private Long qty;

    /** 安全库存 */
    @Excel(name = "安全库存")
    @ApiModelProperty("安全库存")
    private Long safetyStock;

    /** 最高库存 */
    @Excel(name = "最高库存")
    @ApiModelProperty("最高库存")
    private Long maximumStock;

    /** 最低库存 */
    @Excel(name = "最低库存")
    @ApiModelProperty("最低库存")
    private Long minimumStock;

    /** 仓库编号 */
    @Excel(name = "仓库编号")
    @ApiModelProperty("仓库编号")
    private String storehouseNo;

    /** 是否删除：1是 0否 */
    @ApiModelProperty("是否删除：1是 0否")
    private String delFlag;

    /** 是否查询当天的数据 */
    @ApiModelProperty("是否查询当天的数据")
    private String isSearchToday;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("no", getNo())
            .append("productNo", getProductNo())
            .append("productName", getProductName())
            .append("qty", getQty())
            .append("safetyStock", getSafetyStock())
            .append("maximumStock", getMaximumStock())
            .append("minimumStock", getMinimumStock())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .toString();
    }
}
